package lzk.myshop.service;

import com.alipay.api.AlipayApiException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface AlipayService {
    void pay(int orderid,HttpServletResponse response) throws AlipayApiException, IOException;
    Map<String, Object> callback(HttpServletRequest request);
}
